import math

def calculate_rewards(days):
    rewards = []
    for day in range(1, days + 1):
        # 计算前day天的总奖励
        total_reward = sum(range(1, day + 1))
        # 按照10元为最小单位向上取整
        final_reward = math.ceil(total_reward / 10) * 10
        rewards.append(final_reward)
    return rewards

# 打印每个月打卡天数从1到31的奖励数字
rewards = calculate_rewards(31)
for day, reward in enumerate(rewards, start=1):
    print(f"第{day}天的奖励: {reward}元")
